using Cysharp.Threading.Tasks;
using GameFramework.Reference;

namespace GameFramework.Request
{
    /// <summary>
    /// 请求接口
    /// </summary>
    public interface IRequest : IReference
    {
        /// <summary>
        /// 执行请求
        /// </summary>
        UniTask<IResponse> Execute(System.Threading.CancellationToken cancellationToken = default);
    }
}